Skip to content

Fix clippy failures for Rust 1.97#181

Merged
arctic-alpaca merged 13 commits into
cyberus-technology:gardenlinuxfrom
arctic-alpaca:fix-clippy
Jul 9, 2026
Merged

Fix clippy failures for Rust 1.97#181
arctic-alpaca merged 13 commits into
cyberus-technology:gardenlinuxfrom
arctic-alpaca:fix-clippy

Conversation

@arctic-alpaca

@arctic-alpaca arctic-alpaca commented Jul 9, 2026

Copy link
Copy Markdown

rbradford and others added 13 commits July 9, 2026 15:31
Fix use of a paired map iterator when only the values are cared about.

Signed-off-by: Rob Bradford <rbradford@meta.com>
(cherry picked from commit 673d4a4)
Fix use of a paired map iterator when only the values are cared about.

Signed-off-by: Rob Bradford <rbradford@meta.com>
(cherry picked from commit c78497c)
Fix use of a paired map iterator when only the values are cared about.

Signed-off-by: Rob Bradford <rbradford@meta.com>
(cherry picked from commit 2a20f57)
Replace & in formatting arguments where it is already a reference
(avoiding &&).

Signed-off-by: Rob Bradford <rbradford@meta.com>
(cherry picked from commit c10f237)
Replace & in formatting arguments where it is already a reference
(avoiding &&).

Signed-off-by: Rob Bradford <rbradford@meta.com>
(cherry picked from commit c93677c)
Replace & in formatting arguments where it is already a reference
(avoiding &&).

Signed-off-by: Rob Bradford <rbradford@meta.com>
(cherry picked from commit 7a386ec)
When formatting as hex the minimum format size is 4 not 2.

Signed-off-by: Rob Bradford <rbradford@meta.com>
(cherry picked from commit ead1094)
Inline the format argument rather than provide it as a parameter.

Signed-off-by: Rob Bradford <rbradford@meta.com>
(cherry picked from commit 85415cd)
Inline the format argument rather than provide it as a parameter.

Signed-off-by: Rob Bradford <rbradford@meta.com>
(cherry picked from commit 4d27640)
Replace use of redundant & (leading to &&) in format strings.

Signed-off-by: Rob Bradford <rbradford@meta.com>
(cherry picked from commit eca621c)
Replace format arguments with inlined versions.

Signed-off-by: Rob Bradford <rbradford@meta.com>
(cherry picked from commit 29f392f)
When formatting as hex the minimum format size is 4 not 2.

On-behalf-of: SAP julian.schindel@sap.com
Signed-off-by: Julian Schindel <julian.schindel@cyberus-technology.de>
Replace use of redundant & (leading to &&) in format strings.

On-behalf-of: SAP julian.schindel@sap.com
Signed-off-by: Julian Schindel <julian.schindel@cyberus-technology.de>
@arctic-alpaca arctic-alpaca changed the title Backport clippy fixes Fix clippy failures for Rust 1.97 Jul 9, 2026
@arctic-alpaca arctic-alpaca marked this pull request as ready for review July 9, 2026 14:02
@arctic-alpaca arctic-alpaca requested review from Coffeeri and scholzp July 9, 2026 14:02

@Coffeeri Coffeeri left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for porting this!

@scholzp scholzp left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for porting! LGTM.

@arctic-alpaca arctic-alpaca merged commit 373036f into cyberus-technology:gardenlinux Jul 9, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants